<?php 
$config = require_once "./config/config.php";
$cnzz = require "./config/cnzz.php";
if(isset($_GET['page'])){
	$page = $_GET['page'];
	if (isset($_GET['id'])) {
		$id = $_GET['id'];
//	    header('Location:'.$config['linkUrl'].'/'.$page.'/?id='.$id);
	    header('Location:'.$config['linkUrl'].'/?url='.$config['oss'].$page.'/index.php&tj='.$cnzz['cnzz'].'&s='.$cnzz['s'].'&id='.$id.'#');
	    die();
	}else{
        header('Location:'.$config['linkUrl'].'/?url='.$config['oss'].$page.'/index.php&tj='.$cnzz['cnzz'].'&s='.$cnzz['s'].'#');
    	die();
	}  
}else{
    header('Location:'.$config['linkUrl'].'/?url='.$config['oss'].$config['pages'][0].'/index.php&tj='.$cnzz['cnzz'].'&s='.$cnzz['s'].'#');
    die();
}
